home *** CD-ROM | disk | FTP | other *** search
- Path: news.dal.ca!news
- From: hayes@ug.cs.dal.ca (Kevin Hayes)
- Newsgroups: comp.sys.powerpc,comp.os.linux.advocacy,comp.sys.mac.advocacy,comp.os.os2.advocacy,comp.sys.amiga.advocacy
- Subject: Re: Copland merely shifts the burden to the programmer
- Date: Thu, 07 Mar 1996 18:42:07 GMT
- Organization: Dalhousie University
- Message-ID: <4hnalr$6dn@News.Dal.Ca>
- References: <nevin-0602962253080001@150.135.1.79> <31349BAA.6418@mediamatic.nl> <4h4qir$dpj@nuke.csu.net> <313CA521.13D8@mediamatic.nl> <4hjiv4$hdt@nuke.csu.net> <313EE335.8A4@mediamatic.nl>
- NNTP-Posting-Host: khayes.macdonald.dal.ca
- X-Newsreader: Forte Free Agent 1.0.82
-
- Pascal Haakmat <pascal@mediamatic.nl> wrote:
-
- >Gregory L Hansen wrote:
- >
- >> >Then the blue box would have to restart all the applications that were running at the
- >> >time the blue box crashed. While I certainly consider this a feasible sort of thing,
- >> >re-loading every application sure does kill the prospect of 'shorter startup times'.
- >> I don't think you'd have to restart any apps. As far as I can tell, if
- >> the restart generates some kind of RestartedBlueBox event, you can
- >> trivially redraw everything.
-
- >Surely though the routines for window drawing MUST be cooperatively run inside the Blue Box and
- >therefore be restarted upon a Blue Box crash. As specs have come by now, there is no way for a
- >protected thread to preemptively call the Toolbox.
-
- No, I would say the kernel would restart the blue box, and the apps
- within it.
-
- >A problem I see is that there is noone listening to the RestartedBlueBox event since to do
- >that, you'd have to run cooperatively inside the Blue Box that has just crashed and is
- >recovering itself.
-
- When an app is started it checks for any preemptive threads belonging
- to it. For example, look for all running processes belonging to a
- creator code - it could be the same creator code that apps and docs
- use today. If an app finds one, it can call that preemptive process to
- "reconnect" to it.
-
- If an app doesn't find a preemptive process with it's creator code, it
- assumes there are none. (i.e. the download has finished, or we are
- starting the app for the first time)
-
- >> Everything is linked, so you'll always know how to find anything
- >> you need. Then go through it and, one at a time, call the functions you
- >> used to draw them in the first place. Replace the old window handles
- >> with the new ones.
-
- >You can't call these functions from a protected thread, and your cooperative Blue Box thread
- >has just crashed along with the Blue Box. How are you going to call these functions without
- >first restarting your cooperative thread?
-
- You can't call GUI functions no. But there's nothing stopping a
- "reconnect" Apple Event from going to and from the threads (or
- processes).
-
- >> But until we learn more, it's all just blind speculation.
-
- >Lot's of fun nevertheless :)
-
- Yep.
-
-
-